package com.example.runner;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.TimeUnit;

@Slf4j
public class DependThread extends BaseThread {

    protected Boolean submitWaitComplete() {
        log.info("DependThread thread submitWaitComplete.");
        try {
            log.info("DependThread thread before sleep.");
            TimeUnit.SECONDS.sleep(5);
            log.info("DependThread thread after sleep.");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return true;
    }

}
